package com.firefighting.dao;

import java.util.List;

import com.firefighting.entity.Enclosure;

public interface EnclosureMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Enclosure record);

    int insertSelective(Enclosure record);

    Enclosure selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Enclosure record);

    int updateByPrimaryKey(Enclosure record);

	List<Enclosure>  selectByBuildingId(Integer buildingId);

	void updateByBuildingId(Enclosure enclosure);
}